<template>
  <div class="item-title">
    <div class="item-title-box">{{title}}</div>
  </div>
</template>

<script>
  export default {
    name: "itemTitle",
    props: {
      title:{
        type: String,
        default: ''
      }
    }
  }
</script>

<style lang="scss" scoped>
.item-title {
  &-box{
    width: 100%;
    height: 30px;
    line-height: 30px;
    padding-left: 10px;
    position: relative;
    font-size: 18px;
    font-weight: 600;
    background-color: #ffffff;
    margin-bottom: 10px;
  }
  &-box::after{
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    width: 5px;
    height: 20px;
    background-color: #be84ed;
    border-radius: 2px;
  }
}
</style>